package com.yb.core.web.annotation;

import com.yb.core.web.config.GlobalExceptionHandlerConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(value = {ElementType.TYPE,ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(GlobalExceptionHandlerConfig.class)
public @interface EnableGlobalExceptionHandler {
}
